package com.zoe.app.entity;

/**
 * @author zbg
 * @date 2023/05/31
 * @description
 */

import com.zoe.app.anno.EnumSerialize;
import com.zoe.app.enums.SexEnum;
import com.zoe.app.enums.UserLevelEnum;
import lombok.Data;

/**
 * 功能描述 : 用户类
 * @author ziyear 2021-12-18 19:22
 */
@Data
public class User {
    private Long id;
    private String name;
    private String mobile;
    @EnumSerialize(SexEnum.class)
    private String sex;
    @EnumSerialize(value = UserLevelEnum.class, method = "getMsg")
    private String level;
}
